﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;

    public class EDailyPro extends Object
    {
        public var __value:int;
        public static const _ESingleCopy:int = 1;
        public static const _ETeamCopy:int = 2;
        public static const _EChallengeCopy:int = 3;
        public static const _EDefenseCopy:int = 4;
        public static const _ETowerCopy:int = 5;
        public static const _EPetBreak:int = 6;
        public static const _EBattleField:int = 7;
        public static const _EGuildWar:int = 8;
        public static const _EEscort:int = 9;
        public static const _EArena:int = 10;
        public static const _EGuildTask:int = 11;
        public static const _EDice:int = 12;
        public static const _EFieldBoss:int = 13;
        public static const _EHoleBoss:int = 14;
        public static const _ECycleTask:int = 15;
        public static const _EHangTask:int = 16;
        public static const _EPVPTask:int = 17;
        public static const _EGuildBoss:int = 18;
        public static const _EQuestionCopy:int = 19;
        public static const _EDoubleTreasureMap:int = 20;
        public static const _ESunbathCopy:int = 21;
        public static const _EDoubleGuildTask:int = 22;
        public static const _EMiningTask:int = 23;
        public static const _EDoubelMiningTask:int = 24;
        public static const _EDoubleEscort:int = 25;
        public static const _EDoubleTiandiRank:int = 26;
        public static const _ECollegeDefend:int = 27;
        public static const _ETeamDefendCopy:int = 28;
        public static const _ERaidersCopy:int = 29;
        public static const _EMoneyCatcher:int = 30;
        public static const _EGuildDefenseCopy:int = 31;
        public static const _EGuildWineCopy:int = 32;
        public static const _EGuildGardenCopy:int = 33;
        public static const _ESixBossOpenEnterWin:int = 34;
        public static const _EDoubleHang:int = 35;

        public function EDailyPro(param1:int)
        {
            this.__value = param1;
            return;
        }// end function

        public function value() : int
        {
            return this.__value;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeByte(this.__value);
            return;
        }// end function

        public static function convert(param1:int) : EDailyPro
        {
            return new EDailyPro(param1);
        }// end function

        public static function __read(param1:SerializeStream) : EDailyPro
        {
            var _loc_2:* = param1.readByte();
            if (_loc_2 < 0 || _loc_2 >= 36)
            {
                throw new MarshalException();
            }
            return EDailyPro.convert(_loc_2);
        }// end function

    }
}
